﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using static Domain.Entitys.Inv.Trf_selectDto;

namespace Domain.Entitys.Inv
{
    /// <summary>
    /// 合并库存盘点公共类
    /// </summary>
    public class Qty_SelectDto
    {
        public int Qty_id { get; set; }
        public string Qty_type { get; set; }
        // 盘点开始时间
        public DateTime ? Qty_startdate { get; set; }
        // 盘点结束时间
        public DateTime ? Qty_end { get; set; }
        public string Qty_code { get; set; }
        // 盘点人员
        public string Qty_clerk { get; set; }

        public string Warehouse_code { get; set; }
        public string Warehouse_name { get; set; }


        public char ? qty_audit_status { get; set; }

        public string qty_audit_opinion { get; set; }
        // 明细字段（可选）
        public List<InvProddti> Details { get; set; }

        public class InvProddti {

           
         
            public int Qty_id { get; set; }

            public string Pro_name { get; set; }

            public string Pro_code { get; set; }

            public string Pro_brand { get; set; }

            public string Unitmeas_id { get; set; }

            public string Pro_model { get; set; }

            public decimal Pro_cost_price { get; set; }

            public decimal Pro_sale_price { get; set; }
          
            public string Location_code { get; set; }

            public string Location_name { get; set; }
            //盘点数量  
            public decimal Inventory_numder { get; set; }
            //盘亏数量
            public decimal Proddti_loss { get; set; }
            //盘盈数量
            public decimal Proddti_profit { get; set; }
        }
    }
}
